<%@ page contentType="text/html; charset=utf-8" language="java" %>
<%@ include file="/sys/include/header.jsp" %>
<html>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<head>
<title>报销明细</title>
<style type="text/css">
body{
	margin:10px;  
	font-size:0.9em;
}
a{
	color:#F00;
}
.STYLE1 {color: #FF0000}
</style>
<!-- extjs -->
<link rel="stylesheet" type="text/css" href="sys/extjs/css/ext-all.css">
<script type="text/javascript" src="sys/extjs/js/ext-base.js"></script>
<script type="text/javascript" src="sys/extjs/js/ext-all.js"></script>
<link rel="stylesheet" type="text/css" href="sys/extjs/css/tables-example.css">	
<link href="sys/style01/css/table.css" rel="stylesheet" type="text/css" /> 
<link rel="stylesheet" href="sys/style01/css/tab-view.css" type="text/css" media="screen">
<link href="sys/style01/date/css/banzu.css" rel="stylesheet" type="text/css" />
<script type="text/javascript" src="sys/style01/date/include/js/calendar.js"></script>
<script type="text/javascript" src="sys/style01/date/include/js/checkdate.js"></script>
<script type="text/javascript" src="sys/style01/date/include/js/calendar-zh.js"></script>
<script type="text/javascript" src="sys/style01/date/include/js/calendar-setup.js"></script>
<script type="text/javascript" src="sys/js/include/common.js"></script>

</head>
<script type="text/javascript">
function download(){
	document.form1.action = "hr/baoxiaoDownload.baoxiaodownload"; 
	document.form1.submit();
}

</script>
<body class="ridgeBody">
<table align="center" width="100%">
<tr><td align="center">
<form id="form1" name="form1" method="post" action="" encType="multipart/form-data" target="hidden_frame1">
	<iframe name='hidden_frame1' id="hidden_frame1" style='display:none'></iframe> 
		<input name="fileName"  type="hidden" class="input"  value ="${fileName }" />	
		<input name="file" type="file" class="text" style='display:none'/>
	<table class=datatable width="100%" cellpadding='0' cellspacing='0' border='1' bordercolordark='white' bordercolorlight='#BEBEBE'>
	    <tr>
	        <td height="25" colspan="4" valign="top" class="dataTitle"><br>报销信息</td>
	    </tr>	  
	    <tr>   
        <td height="22" nowrap="nowrap" class="datatr1"><span class="STYLE1"></span>CTM姓名：</td>
        	<td height="22" >
        		<input name="ctm_code"  type="hidden" class="input"  value ="${ctm_code }" readonly/>
        		<input name="ctm_name"  type="text" class="input" value ="${ctm_name }"  readonly/>
        	</td>      
        	<td height="22" nowrap="nowrap" class="datatr1"><span class="STYLE1"></span>城市：</td>
        	<td height="22" >
        		<input name="city_code"  type="hidden" class="input"  value ="${city_code }" readonly/>
        		<input name="city_value"  type="text" class="input"  value ="${city_value }" readonly/>
        	</td>
      </tr>
      <tr>     
      <td height="22" nowrap="nowrap" class="datatr1"><span class="STYLE1"></span>报销申请日期：</td>
        <td height="22" >
        	<input name="baoxiao_date"  type="text" class="input"  value ="${baoxiao_date }" readonly/>
        </td>   
        <td height="22" nowrap="nowrap" class="datatr1"><span class="STYLE1"></span>RTM：</td>
        <td height="22" >
        	<input name="rtm_code"  type="hidden" class="input" value ="${rtm_code }" readonly/>
        	<input name="rtm_name"  type="text" class="input" value ="${rtm_name }" readonly/>
        </td>        
      </tr> 
</table>

<fieldset align='center' style="width:100%">
 <legend><font  size="2">报销明细</legend>

<table class=datatable width="100%" cellpadding='0' cellspacing='0' border='1' bordercolordark='white' bordercolorlight='#BEBEBE'> 
		<tr>
			<td height="22" colspan="4" valign="top" class="dataTitle"><br>常规报销：</td>
		</tr>
	    <tr>   
        	<td height="22" nowrap="nowrap" class="datatr1">通讯费(元)：</td>
        	<td height="22" >
        		<input name="tongxun_fee"  type="text" class="input" value="${tongxun_fee }" readonly/>
        	</td>  
      </tr>
      <tr>
			<td height="22"  colspan="4" valign="top" class="dataTitle" width="10%">杂费报销：</td>
		</tr>
       <tr>   
        	<td height="22" nowrap="nowrap" class="datatr1" width="10%">杂费(元)：</td>
        	<td height="22" width="10%">
        		<input name="za_fee"  type="text" class="input"  value="${za_fee }" checkType = "number" readonly/>
        	</td>  
        	<td height="22" nowrap="nowrap" class="datatr1">备注：</td>
        	<td height="22" >
        		<input name="za_beizhu"  type="text" class="input"  value="${za_beizhu }"  maxlength="200"  style= "width:100%" readonly/>
        	</td>  
      </tr>
      <tr>
      		<td height="22" nowrap="nowrap" class="datatr1">电脑补助(元)：</td>
        	<td height="22" >
        		<input name="computer_fee"  type="text" class="input"  value="${computer_fee }" checkType = "number" readonly/>
        	</td>    
        	<td height="22" nowrap="nowrap" class="datatr1">备注：</td>
        	<td height="22" >
        		<input name="computer_beizhu"  type="text" class="input"  value="${computer_beizhu }" style= "width:100%" readonly/>
        	</td>   
      </tr>
      <tr>
     		 <td height="22" nowrap="nowrap" class="datatr1">快递费(元)：</td>
        	<td height="22" >
        		<input name="kuaidi_fee"  type="text" class="input"  value="${kuaidi_fee }" checkType = "number" readonly/>
        	</td>   
        	<td height="22" nowrap="nowrap" class="datatr1">备注：</td>
        	<td height="22" >
        		<input name="kuaidi_beizhu"  type="text" class="input"  value="${kuaidi_beizhu }" style= "width:100%" readonly/>
        	</td>  
      </tr>
      <tr>
     		 <td height="22" nowrap="nowrap" class="datatr1">补上月报销费(元)：</td>
        	<td height="22" >
        		<input name="lastMouth_fee"  type="text" class="input"  value="${lastMouth_fee }" checkType = "number"  readonly/>
        	</td>  
        	<td height="22" nowrap="nowrap" class="datatr1">备注：</td>
        	<td height="22" >
        		<input name="lastMouth_beizhu"  type="text" class="input"  value="${lastMouth_beizhu }"  style= "width:100%" readonly/>
        	</td> 
      </tr>
      

	<table  width="100%" bgcolor="#96BDDA">
	<tr>
	<td height="25" colspan="6" valign="top" class="dataTitle"><br>差旅费明细</td>
	</tr>
	<tr>
		<td height="22" nowrap class="dataTitle" align="center">&nbsp;报销类别&nbsp;</td>
		<td height="22" nowrap class="dataTitle" align="center">&nbsp;报销种类&nbsp;</td>
		<td height="22" nowrap class="dataTitle" align="center">&nbsp;费用(元)&nbsp;</td>
	</tr>
	<c:forEach items="${baoxiaoBean}" var="bean">
		<tr class="datatr" align="center" onMouseOver=this.className='udatatr' onMouseOut=this.className='datatr'>
				 <td align="center">
				 <height="22" nowrap class="dataTitle" align="center">&nbsp;${bean.fee_smallclass }&nbsp;
	  			</td>
	  			<td align="center">
	  			<c:if test = "${bean.fee_smallclass != '住宿'}">
	  				<div  style="display:">
	  				 <height="22" nowrap class="dataTitle" align="center">&nbsp;${bean.fee_type }&nbsp;
	  				</div>
	  			</c:if>
	  			<c:if test = "${bean.fee_smallclass == '住宿'}">
	  				<div  style="display:">
	  				<height="22" nowrap class="dataTitle" align="center">&nbsp;${bean.fee_starttime }~&nbsp;
	  				<height="22" nowrap class="dataTitle" align="center">${bean.fee_endtime }&nbsp;
					</div>
				</c:if>
				</td>
	  			<td align="center">
	  			<height="22" nowrap class="dataTitle" align="center">&nbsp;${bean.fee }&nbsp;
	  			</td>
  			</tr>	
	</c:forEach>
</table>
  </table>

<table class=datatable width="100%" cellpadding='0' cellspacing='0' border='1' bordercolordark='white' bordercolorlight='#BEBEBE'>
	<c:if test = "${hasAttach == 'true'}">
		<tr>
		<td height="22" nowrap="nowrap" class="datatr1">附件：</td>
		<td>
		<a >${fileName }</a>
		<input type="button" onClick="download()" value="下载">
		<input name="fileName"  type="hidden" class="input"  value ="${fileName }" readonly/>
		
		</td></tr>
		</c:if>
	 <tr>
      		<td height="22" nowrap="nowrap" class="datatr1">报销状态：</td>
        	<td height="22" >
        	 <height="22" nowrap class="dataTitle" align="center" style="width:100%">&nbsp;${baoxiao_state }&nbsp;
        	</td>    
      </tr>
       <tr>
      		<td height="22" nowrap="nowrap" class="datatr1">RTM意见：</td>
        	<td height="22" >
        		<textarea name="rtm_yijian"  cols="65" rows="5" style="width:100%" readonly>${rtm_yijian }</textarea>
        	</td>    
      </tr>
       <tr>
      		<td height="22" nowrap="nowrap" class="datatr1">总部意见：</td>
        	<td height="22" >
        		<textarea name="zongbu_yijian"  cols="65" rows="5" style="width:100%" readonly>${zongbu_yijian }</textarea>
        	</td>    
      </tr>
</table>

<table class=datatable width="100%" cellpadding='0' cellspacing='0' border='1' bordercolordark='white' bordercolorlight='#BEBEBE'>
		
		<tr>
		<td height="20" colspan="6" valign="top" class="dataTitle">
		<input type="button" onClick="window.close()" value="关闭">
		</td>
        </tr>
	</table>
</form>
</td></tr>
</table>


</body>
</html> 

